﻿
@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <title></title>
    <script type="text/javascript">
        function Save() {
            var id = pageofficectrl.WindowParams;
            var myObject = {};
            myObject.id = id;
            var params = new URLSearchParams(myObject);
            var saveUrl = "/WordSalaryBill/SaveData";
            pageofficectrl.SaveDataPage = `${saveUrl}?${params.toString()}`;
            pageofficectrl.WebSave();
        }
       

        function OnPageOfficeCtrlInit() {
            pageofficectrl.AddCustomToolButton("保存", "Save", 1);
        }
    </script>
</head>
<body>
    <form id="form1">
        <div style="width: auto; height: 900px;">
            @Html.Raw(ViewBag.err)
            @Html.Raw(ViewBag.poCtrl)
        </div>
    </form>
</body>
</html>